package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2023-08-05
 */
@Getter
@Setter
@TableName("lq_mini_user_base_info")
public class MimiUserBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.AUTO)
    private Integer id;


    private Long userType;


    /**
     * openId 和 mobile  组成联合主键
     * 确认唯一一个用户信息
     */
    private String openId;


    private String mobile;


    private Long uid;


    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
